package com.tongzhou.tongzhou.message.dao;

import java.util.List;

import com.tongzhou.db.exception.DBException;
import com.tongzhou.tongzhou.message.model.Message;
import com.tongzhou.tongzhou.message.model.SearchMessageCondition;

public interface IMessageDAO {
	public int addMessage(Message message) throws DBException;
	public List<Message> listMessage(SearchMessageCondition condition) throws DBException;
}
